package com.Web.DAO;

import com.Web.Person.BanJi;
import com.Web.util.PageInfo;

import java.util.List;

public interface IClassDAO {

    List<BanJi> selectAll();

    void deleteById(int i);

    void add(BanJi banji);

    BanJi toUpdate(int id);

    void update(BanJi banji);

    List<BanJi> selectByPage(Integer offset, Integer pageSize);

    Integer selectTotalCount();
}
